* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

       
/* Responsive Real Estate CSS - All Devices */
:root {
    /* Color Scheme */
      /* Light Theme (Default) */
    --primary-color: #0a192f;
    --secondary-color: #dfb429;
    --accent-color: #ff6b6b;

    --gold-light: #f9e076;
    --gold-medium: #d4af37;
    --gold-dark: #b8860b;
      --glass: rgba(48, 41, 6, 0.27);
            --glass-header:rgba(255, 255, 254, 0.45);
            --glass-border: rgba(255, 255, 255, 0.1);
            --text: #eef2f7;;
    /* Background Colors */
     /* Light Theme Backgrounds */
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --bg-dark: #1a1a2e;
    
    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #888888;
    --text-white: #ffffff;
    
    /* Border & Shadow */
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
     /* Video shuffle specific variables - Light theme */
    --shuffle-bg: rgba(18, 18, 18, 0.1);
    --shuffle-card-bg: rgba(255, 255, 255, 0.85);
    --shuffle-card-glass: rgba(48, 41, 6, 0.27);
    --shuffle-card-border: rgba(212, 175, 55, 0.2);
    --shuffle-header-bg: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
    --shuffle-divider: rgba(223, 180, 41, 0.2);
    --shuffle-overlay: rgba(255, 255, 255, 0.1);
    --shuffle-title-gradient: linear-gradient(to right, #ecb731, #d4af37);
    --shuffle-text-color: #0a192f;
    --shuffle-paragraph-color: #4a5568;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

        body {
           font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
        }
 /* ===== REFINED DARK THEME ===== */

/* Dark Theme Variables - Refined for subtlety */
body.dark-theme {
    /* Keep existing colors but adjust background slightly */
    --primary-color: #1a1a2e;
    --secondary-color: #d4af37;
    
    /* Refined backgrounds - keep white for header/footer areas */
    --bg-light: #0f0f1a; /* Main body background */
    --bg-gray: #1a1a2e; /* Section backgrounds */
    --bg-dark: #252547; /* Footer/darker areas */
    
    /* Refined text colors */
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --text-light: #888888;
    --text-white: #ffffff;
    
    /* Border & Shadow adjustments */
    --border-color: #2d3748;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    /* Glass effect adjustments */
    --glass: rgba(30, 30, 46, 0.9);
    --glass-header: rgba(255, 255, 254, 0.85);
    --glass-border: rgba(255, 255, 255, 0.15);
      /* Video shuffle specific variables - Dark theme */
    --shuffle-bg: rgba(0, 0, 0, 0.3);
    --shuffle-card-bg: rgba(15, 15, 26, 0.9);
    --shuffle-card-glass: rgba(30, 30, 46, 0.9);
    --shuffle-card-border: rgba(212, 175, 55, 0.3);
    --shuffle-header-bg: linear-gradient(to bottom, rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.4));
    --shuffle-divider: rgba(212, 175, 55, 0.3);
    --shuffle-overlay: rgba(0, 0, 0, 0.4);
    --shuffle-text-color: #f0f0f0;
    --shuffle-paragraph-color: #b0b0b0;
}

/* Apply dark theme selectively - DON'T affect body directly */
body.dark-theme {
    background-color: var(--bg-light);
    color: var(--text-primary);
}

/* ===== FIX HEADER ISSUE ===== */
body.dark-theme header.glass {
    /* Keep header looking the same as light mode */
    background: var(--glass-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.dark-theme header.glass a {
    color: #000000; /* Make header text visible */
}

body.dark-theme header.glass nav ul li a {
    color: #000000;
}

body.dark-theme header.glass nav ul li a:hover {
    color: var(--secondary-color);
}

/* ===== FIX FOOTER ===== */
body.dark-theme .footer {
    background-color: var(--bg-dark); /* Use darker but not blue */
}

body.dark-theme .footer-column h3 {
    color: var(--secondary-color); /* Gold color for headings */
}

body.dark-theme .footer-list a,
body.dark-theme .contact-info li,
body.dark-theme .copyright {
    color: var(--text-secondary); /* Light gray for text */
}

body.dark-theme .footer-list a:hover {
    color: var(--secondary-color);
}

body.dark-theme .contain-decor {
    background: rgba(26, 26, 46, 0.3);
}

body.dark-theme .social-links-footer a {
    background: rgba(212, 175, 55, 0.2);
    color: var(--secondary-color);
}

body.dark-theme .social-links-footer a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ===== FIX WHITE SECTIONS ===== */
/* These sections will now use --bg-gray in dark mode */
body.dark-theme .properties-section,
body.dark-theme .gallery-section,
body.dark-theme .payment-plans-section,
body.dark-theme .location-section,
body.dark-theme .calculator-section {
    background-color: var(--bg-gray);
}

body.dark-theme .property-overview,
body.dark-theme .contact-section {
    background-color: var(--bg-light);
}

/* ===== CARD STYLES ===== */
body.dark-theme .property-card,
body.dark-theme .feature-card,
body.dark-theme .plan-card,
body.dark-theme .contact-card {
    background: var(--bg-light);
    border-color: var(--border-color);
}

body.dark-theme .property-card:hover,
body.dark-theme .feature-card:hover {
    border-color: var(--secondary-color);
}

/* ===== FORM ELEMENTS ===== */
body.dark-theme .form-select,
body.dark-theme .form-range,
body.dark-theme .newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-theme .form-select:focus,
body.dark-theme .form-range:focus {
    border-color: var(--secondary-color);
}

/* ===== MAP CONTROLS ===== */
body.dark-theme .map-control {
    background: var(--bg-light);
    color: var(--text-primary);
}

body.dark-theme .map-control:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ===== QUICK NAVIGATION ===== */
body.dark-theme .quick-nav-item {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

body.dark-theme .quick-nav-item:hover,
body.dark-theme .quick-nav-item.active {
    background: rgba(223, 180, 41, 0.15);
    color: var(--secondary-color);
}

/* ===== CALCULATOR ===== */
body.dark-theme .calculator-inputs {
    background: var(--bg-gray);
}

body.dark-theme .calculator-results {
    background: var(--bg-dark);
}

/* ===== MODAL ===== */
body.dark-theme .modal-content {
    background: var(--bg-light);
    color: var(--text-primary);
}

body.dark-theme .modal-details {
    background: var(--bg-gray);
}

body.dark-theme .detail-section {
    background: var(--bg-light);
}

/* ===== BUTTONS - Keep them consistent ===== */
/* Buttons already use --secondary-color which works in both themes */

/* ===== HERO SECTION ===== */
body.dark-theme .responsive-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #252547 100%);
}

body.dark-theme .hero-background {
    filter: brightness(0.6); /* Darken the background image slightly */
}

body.dark-theme .stat-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== GALLERY ===== */
body.dark-theme .gallery-section {
    background: var(--bg-gray);
}

/* ===== PAYMENT PLANS ===== */
body.dark-theme .payment-plans-section {
    background: var(--bg-gray);
}

/* ===== STATS ===== */
body.dark-theme .responsive-stats .stat-item {
    background: rgba(255, 255, 255, 0.05);
}

/* ===== AMENITIES ===== */
body.dark-theme .amenity-item {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-theme .location-info {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--secondary-color);
}

/* ===== WHATSAPP WIDGET ===== */
body.dark-theme .whatsapp-bubble {
    background-color: var(--bg-light);
    color: var(--text-primary);
}

body.dark-theme .whatsapp-bubble:after {
    border-top-color: var(--bg-light);
}

/* ===== SECTION HEADERS ===== */
body.dark-theme .section-header h2 {
    color: var(--text-primary);
}

body.dark-theme .section-header p {
    color: var(--text-secondary);
}

/* ===== BADGES ===== */
body.dark-theme .badge.size {
    background: var(--primary-color);
}

/* ===== FIX FOR DARK THEME IMAGES ===== */
/* Optional: Add a subtle overlay to images in dark mode */
body.dark-theme .property-image img {
    filter: brightness(0.9);
}

/* ===== ACCESSIBILITY ===== */
/* Ensure good contrast for links */
body.dark-theme a:not(.btn):not(.footer-list a) {
    color: var(--text-white);
}

body.dark-theme a:not(.btn):not(.footer-list a):hover {
    color: var(--gold-light);
}
body.dark-theme header.glass {
    /* Use light glass effect like in light mode */
    background: var(--glass-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

/* Make sure header text is dark and visible */
body.dark-theme header.glass a {
    color: #000000 !important; /* Force black text for logo */
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3); /* Add subtle shadow for readability */
}

body.dark-theme header.glass nav ul li a {
    color: #000000 !important; /* Force black text for menu items */
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

body.dark-theme header.glass nav ul li a:hover {
    color: var(--secondary-color) !important; /* Gold on hover */
}

body.dark-theme .menu-toggle span {
    background-color: #000000; /* Black hamburger icon */
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); /* Add contrast */
}
/* Fix mobile menu background */
body.dark-theme .mobile-nav {
    background: rgba(255, 255, 255, 0.8); /* Very light for mobile */
    backdrop-filter: blur(20px);
}

body.dark-theme .mobile-nav a {
    color: #241f02 !important;
}

body.dark-theme .mobile-nav a:hover {
    color: var(--secondary-color) !important;
}

body.dark-theme .close-icon {
    color: #000000 !important;
}
/* Main headings - make them stand out more */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
    color: #ffffff !important; /* Pure white for maximum contrast */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Add depth */
}

/* Hero section headings */
body.dark-theme .hero-content h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

body.dark-theme .hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important; /* Slightly transparent white */
}

/* Section headers with the underline */
body.dark-theme .section-header h2 {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

body.dark-theme .section-header h2::after {
    background: var(--secondary-color); /* Gold underline */
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5); /* Glow effect */
}

body.dark-theme .section-header p {
    color: rgba(255, 255, 255, 0.85) !important;
}
/* Card headings */
body.dark-theme .property-card h3,
body.dark-theme .feature-card h3,
body.dark-theme .plan-card h3 {
    color: var(--secondary-color) !important; /* Gold for card titles */
}

body.dark-theme .property-info h3 {
    color: var(--secondary-color) !important;
}

/* Feature card headings */
body.dark-theme .feature-card h3 {
    color: var(--secondary-color) !important;
}

/* Plan card headings */
body.dark-theme .plan-card h3 {
    color: var(--secondary-color) !important;
}

/* Contact card headings */
body.dark-theme .contact-details h4 {
    color: var(--secondary-color) !important;
}

/* Modal headings */
body.dark-theme .modal-header h2 {
    color: #ffffff !important;
}

body.dark-theme .detail-section h3 {
    color: var(--secondary-color) !important;
}

/* Gallery captions */
body.dark-theme .slide-caption h4 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

body.dark-theme .slide-caption p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Amenities headings */
body.dark-theme .amenities-container h3 {
    color: #ffffff !important;
}

body.dark-theme .amenity-content h4 {
    color: var(--secondary-color) !important;
}

/* Calculator headings */
body.dark-theme .calculator-inputs h3,
body.dark-theme .calculator-results h3 {
    color: var(--secondary-color) !important;
}

/* WhatsApp CTA heading */
body.dark-theme .whatsapp-cta h3 {
    color: #ffffff !important;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(223, 180, 41, 0.1);
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 20px;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.theme-text {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .theme-toggle {
        padding: 8px 12px;
        margin-left: 10px;
        animation:  pulse-gold-fixed 3s infinite;
    }
       

@keyframes pulse-gold-fixed {
    0% { 
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7),
                   0 0 0 0 rgba(212, 175, 55, 0.4); 
    }
    70% { 
        box-shadow: 0 0 0 25px rgba(212, 175, 55, 0),
                   0 0 0 15px rgba(212, 175, 55, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0),
                   0 0 0 0 rgba(212, 175, 55, 0); 
    }
}


    .theme-text {
        display: none;
    }
    /* .hero-badge {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
} */
}


       /* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}
   
        /* Glass Morphism Styles */
        .glass {
            background: var(--glass);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            /* border: 1px solid var(--glass-border); */
            border-radius: 0px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            transition: all 0.4s ease;
        }

        .glass:hover {
            box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
            border-color: rgba(212, 175, 55, 0.4);
        }

        /* Gold decorative elements */
        .gold-divider {
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--gold-medium), transparent);
            margin: 20px 0;
            border-radius: 2px;
        }
/* button */
        .btn {
            padding: 12px 25px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            font-size: 1rem;
        }

        .btn-primary {
            background: var(--secondary-color);
            color: var(--primary-color);
            border: 2px solid var(--secondary-color);
        }

        .btn-primary:hover {
            background: transparent;
            color: var(--secondary-color);
              border: 2px solid var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
        }

        .btn-outline {
            background: transparent;
            color: var(--secondary-color);
            border: 2px solid var(--secondary-color);
        }

        .btn-outline:hover {
            background: var(--secondary-color);
            color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
        }
       

      /* WhatsApp Widget Styles */
        .whatsapp-widget {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }
        
        .whatsapp-bubble {
            background-color: #fff;
            border-radius: 24px;
            padding: 12px 20px;
            margin-bottom: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            position: relative;
            max-width: 220px;
            opacity: 1;
            transition: opacity 0.8s ease, transform 0.5s ease;
            transform: translateY(0);
            animation: floatBubble 3s ease-in-out infinite;
        }
        
        .whatsapp-bubble.hidden {
            opacity: 0;
            transform: translateY(20px);
            pointer-events: none;
        }
        
        .whatsapp-bubble:after {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 30px;
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid #fff;
        }
        
        .whatsapp-bubble p {
            color: #333;
            font-weight: 500;
            font-size: 15px;
            margin: 0;
        }
        
        .whatsapp-bubble p i {
            color: #25D366;
            margin-right: 5px;
        }
        
        .whatsapp-button {
            background-color: #25D366;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
             overflow: visible !important;
        }
        
        .whatsapp-button:hover {
            background-color: #128C7E;
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
        }
        
        .whatsapp-button:active {
            transform: scale(0.95);
        }
        
        .whatsapp-button i {
            color: white;
            font-size: 32px;
        }
        
        .whatsapp-pulse {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            z-index: -1;
           animation: whatsapp-pulse-fix 2s infinite !important;
    background-color: #25D366 !important;
    opacity: 0.7 !important;
        }
    
        
        @keyframes floatBubble {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }
     

        /* FIX FOR WHATSAPP PULSE */

@keyframes whatsapp-pulse-fix {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
        /* Responsive design */
        @media (max-width: 768px) {
            .whatsapp-widget {
                bottom: 20px;
                right: 20px;
            }
            
            .whatsapp-bubble {
                max-width: 180px;
                font-size: 14px;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .content {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .whatsapp-widget {
                bottom: 15px;
                right: 15px;
            }
            
            .whatsapp-button {
                width: 55px;
                height: 55px;
            }
            
            .whatsapp-button i {
                font-size: 28px;
            }
            
            .whatsapp-bubble {
                padding: 10px 15px;
                max-width: 160px;
            }
        }
        /* Section Styles */
        section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        .section-title h2 {
              font-size: 2.5rem;
            position: relative;
            display: inline-block;
            margin-bottom: 20px;
            font-family: 'Playfair Display', serif;
            color: var(--primary);
        }
         .section-title p{
            font-size: 1.2em;
         }
        .section-title h2::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background: var(--secondary);
                 bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Responsive Hero Section */
.responsive-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a2e 100%);
    color: var(--text-white);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)),
                url('../images/construction\ images-1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: var(--space-xxl) 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(223, 180, 41, 0.2);
    color: var(--secondary-color);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(223, 180, 41, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    opacity: 0.9;
    line-height: 1.8;
    color: white;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xxl);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-lg {
    padding: var(--space-lg) var(--space-xl);
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--gold-light);
        background: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Stats */

@media (min-width: 768px) {
    .responsive-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xl);
    }
    
}

.responsive-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 100%;
    padding: 0 0.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Responsive Quick Navigation */
.responsive-quick-nav {
    position: relative;
    z-index: 10;
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    margin-top: -1.5rem;
}

.quick-nav-items {
    display: flex;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    gap: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.quick-nav-items::-webkit-scrollbar {
    display: none;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    min-width: 85px;
    flex-shrink: 0;
    background: rgba(223, 180, 41, 0.05);
}

.quick-nav-item i {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.quick-nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.quick-nav-item:hover,
.quick-nav-item.active {
    background: rgba(223, 180, 41, 0.15);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .quick-nav-items {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
    }
}
/* Extra small mobile adjustments */
@media (max-width: 360px) {
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .quick-nav-item {
        min-width: 75px;
        padding: 0.75rem 0.25rem;
    }
    
    .quick-nav-item i {
        font-size: 1.1rem;
    }
    
    .quick-nav-item span {
        font-size: 0.65rem;
    }
}

/* ===== TABLET STYLES (768px and up) ===== */
@media (min-width: 768px) {
    /* Reset stats for tablet/desktop */
    .responsive-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xl);
        padding: 0;
    }
    
    .stat-item {
        padding: var(--space-lg);
    }
    
    .stat-value {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Reset quick navigation for tablet/desktop */
    .responsive-quick-nav {
        margin-top: -40px;
    }
    
    .quick-nav-items {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        gap: var(--space-md);
        padding: var(--space-md) 0;
    }
    
    .quick-nav-item {
        min-width: 100px;
        padding: var(--space-md);
        background: transparent;
    }
    
    .quick-nav-item i {
        font-size: 1.5rem;
        margin-bottom: var(--space-xs);
    }
    
    .quick-nav-item span {
        font-size: 0.9rem;
    }
    
    /* Reset hero for tablet/desktop */
    .hero-content {
        max-width: 800px;
        padding: 0;
    }
    
    .hero-badge {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
        margin-bottom: var(--space-lg);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 2vw, 1.25rem);
        max-width: 600px;
        margin-bottom: var(--space-xl);
        padding: 0;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: var(--space-md);
    }
    
    .hero-actions .btn {
        width: auto;
    }
}

/* ===== DESKTOP STYLES (992px and up) ===== */
@media (min-width: 992px) {
    .responsive-stats {
        gap: var(--space-xl);
        max-width: 600px;
    }
    
    .quick-nav-items {
        gap: var(--space-lg);
    }
    
    .quick-nav-item {
        min-width: 120px;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .quick-nav-item {
        min-height: 60px;
    }
    
    .stat-item {
        min-height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent horizontal overflow on mobile */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .container {
        overflow-x: hidden;
    }
}

/* ===== SAFARI MOBILE FIXES ===== */
@supports (-webkit-touch-callout: none) {
    .quick-nav-items {
        -webkit-overflow-scrolling: touch;
    }
    
    .hero-background {
        background-attachment: scroll !important;
    }
}

/* ===== IMPROVE SCROLLING FOR QUICK NAV ON MOBILE ===== */
.quick-nav-items {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
}

/* Webkit scrollbar styling */
.quick-nav-items::-webkit-scrollbar {
    height: 4px;
    display: block;
}

.quick-nav-items::-webkit-scrollbar-track {
    background: transparent;
}

.quick-nav-items::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}
/* Section Common Styles */
section {
    padding: var(--space-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xxl);
}

.section-header h2 {
    position: relative;
    display: inline-block;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: var(--bg-light);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(223, 180, 41, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2rem;
    color: var(--secondary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

/* Properties Section */
.properties-section {
    background: var(--bg-gray);
}

.property-filter {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .property-filter {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.filter-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
     transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 180, 41, 0.3);
}

.filter-info {
    font-size: 0.9rem;
    color: var(--text-light);
}
/*  */
.properties-grid {
    display: grid;
    align-items: stretch;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .property-image {
        height: 200px;
    }
}

@media (min-width: 1200px) {
    .properties-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-info h3 {
        font-size: 1.2rem;
        min-height: 3rem;
    }
}
.property-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}



.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badges {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-white);
}

.badge.size {
    background: var(--primary-color);
}

.badge.price {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.view-details {
    padding: var(--space-md) var(--space-lg);
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.property-info {
    padding: var(--space-lg);
}

.property-info h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.property-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--text-light);
}

.property-meta i {
    color: var(--secondary-color);
}

.property-actions {
    display: flex;
    gap: var(--space-sm);
}

.btn-whatsapp,
.btn-view {
    flex: 1;
    padding: var(--space-md);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    transition: all var(--transition-normal);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--text-white);
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-view {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-view:hover {
    background: #1a2d4e;
    transform: translateY(-2px);
}
@media (min-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .property-info {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .property-info h3 {
        font-size: 1.2rem;
    }
    
    .property-meta {
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
    }
    
    .property-actions {
        margin-top: auto;
        flex-direction: row;
    }
    
    .btn-whatsapp,
    .btn-view {
        flex: 1;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Medium desktop (992px and up) */
@media (min-width: 992px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
    
    .property-image {
        height: 220px;
    }
    
    .property-info h3 {
        font-size: 1.25rem;
    }
    
    .property-meta {
        gap: var(--space-md);
    }
    
    .property-actions {
        gap: var(--space-sm);
    }
}

/* Large desktop (1200px and up) */
@media (min-width: 1200px) {
    .properties-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-card {
        max-width: 100%;
    }
    
    .property-info h3 {
        font-size: 1.2rem;
        min-height: 3rem;
    }
}

/* Extra large screens (1400px and up) */
@media (min-width: 1400px) {
    .properties-grid {
        gap: var(--space-xl);
    }
    
    .property-image {
        height: 220px;
    }
    
    .property-info {
        padding: var(--space-xl);
    }
}
@media (hover: hover) {
    .property-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--secondary-color);
    }
}

/* ===== FIX FOR TOUCH DEVICES ===== */
@media (hover: none) and (pointer: coarse) {
    .property-card {
        min-height: auto;
    }
    
    .property-actions {
        flex-direction: column;
    }
    
    .btn-whatsapp,
    .btn-view {
        width: 100%;
    }
}

/* ===== FIX FOR VERY SMALL DESKTOP SCREENS ===== */
@media (min-width: 992px) and (max-width: 1199px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .property-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ===== FIX FOR FIREFOX GRID ISSUES ===== */
@-moz-document url-prefix() {
    .property-card {
        min-height: 0;
    }
}

/* ===== FIX FOR SAFARI GRID ISSUES ===== */
@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {
        .properties-grid {
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            flex-wrap: wrap;
        }
        
        .property-card {
            -webkit-box-flex: 1;
            -webkit-flex: 1 0 calc(25% - var(--space-lg));
            flex: 1 0 calc(25% - var(--space-lg));
            margin: calc(var(--space-lg) / 2);
        }
        
        @media (max-width: 1199px) {
            .property-card {
                -webkit-flex: 1 0 calc(33.333% - var(--space-lg));
                flex: 1 0 calc(33.333% - var(--space-lg));
            }
        }
        
        @media (max-width: 767px) {
            .property-card {
                -webkit-flex: 1 0 calc(50% - var(--space-lg));
                flex: 1 0 calc(50% - var(--space-lg));
            }
        }
        
        @media (max-width: 575px) {
            .property-card {
                -webkit-flex: 1 0 100%;
                flex: 1 0 100%;
            }
        }
    }
}



/* Gallery container with theme support */
.fps-container {
    position: relative;
    width: 100%;
    min-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #fff;
    isolation: isolate; /* Creates new stacking context */
}

/* Pages Container */
.fps-pages-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual Page */
.fps-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
    z-index: 1;
}

.fps-page.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    z-index: 100;
}

.fps-page.previous {
    opacity: 0.7;
    transform: translateY(-20%);
    z-index: 90;
}

.fps-page.small {
    transform: translateY(-30%);
    z-index: 80;
}

/* Page Content */
.property-gallery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    height: 100%;
    padding: 40px;
}

.property-gallery-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.property-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position:left;
    transition: transform 0.5s ease;
}

.fps-page.active .property-gallery-image img {
    animation: zoomIn 0.8s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.property-gallery-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.property-badge {
    display: inline-block;
    background: #dfb429;
    color: #0a192f;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    align-self: flex-start;
}

.property-gallery-details h3 {
    font-size: 2rem;
    color: #0a192f;
    margin-bottom: 10px;
    line-height: 1.2;
}

.property-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #dfb429;
    margin-bottom: 20px;
}

.property-features {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-weight: 500;
}

.property-features i {
    color: #dfb429;
}

.property-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ===== NAVIGATION CONTROLS ===== */

/* Navigation Dots */
.fps-nav-container {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fps-nav-btn {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    padding: 0;
}

.fps-nav-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.fps-nav-btn.active {
    background: #dfb429;
    transform: scale(1.3);
    border-color: #dfb429;
}

.fps-nav-btn.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #dfb429;
    opacity: 0.5;
}

/* Scroll Buttons */
.fps-scroll-container {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 1000;
}

.fps-scroll-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #0a192f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    padding: 0;
}

.fps-scroll-btn:hover {
    background: #dfb429;
    color: #0a192f;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.fps-scroll-btn:active {
    transform: scale(0.95);
}

/* Progress Indicator */
.gallery-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.gallery-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #dfb429, #b8860b);
    width: 0%;
    transition: width 0.3s ease;
}

/* Page Indicator */
.current-page-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .property-gallery-content {
        gap: 30px;
        padding: 30px;
    }
    
    .property-gallery-details h3 {
        font-size: 1.8rem;
    }
    
    .property-price {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .fps-container {
        height: 700px;
 
    }
    
    .property-gallery-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .property-gallery-image {
        height: 300px;
    }
    
    .property-gallery-details {
        padding: 0;
    }
    
    .property-gallery-details h3 {
        font-size: 1.6rem;
    }
    
    .property-features {
        gap: 15px;
    }
    
    .fps-nav-container {
        right: 15px;
    }
    
    .fps-scroll-container{
        bottom: 0px;
    }
  
    .fps-scroll-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
      
    }
    .property-description {
    display: none;
}

}

@media (max-width: 480px) {
    .fps-container {
        height: 650px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .property-gallery-image {
        height: 250px;
    }
    
    .property-gallery-details h3 {
        font-size: 1.4rem;
    }
    
    .property-price {
        font-size: 1.4rem;
    }
    
    .property-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .fps-nav-btn {
        width: 12px;
        height: 12px;
    }
    
    .current-page-indicator {
        top: 15px;
        left: 15px;
        font-size: 0.8rem;
    }
}

/* Animation for content reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fps-page.active .property-gallery-details > * {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.fps-page.active .property-badge {
    animation-delay: 0.1s;
}

.fps-page.active .property-gallery-details h3 {
    animation-delay: 0.2s;
}

.fps-page.active .property-price {
    animation-delay: 0.3s;
}

.fps-page.active .property-features {
    animation-delay: 0.4s;
}

.fps-page.active .property-description {
    animation-delay: 0.5s;
}

.fps-page.active .property-actions {
    animation-delay: 0.6s;
}

/* Disabled state during animation */
.fps-container.changing .fps-scroll-btn,
.fps-container.changing .fps-nav-btn {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button press effect */
.fps-nav-btn.pressed,
.fps-scroll-btn.pressed {
    transform: scale(0.95) !important;
}
/* ===== FIXED: HIDE CONTENT OF NON-ACTIVE PAGES ===== */

/* Only show content for active page */
.fps-page:not(.active) .property-gallery-details {
    display: none !important;
}

/* For previous page, show only a shadow/background, not content */
.fps-page.previous .property-gallery-content {
    filter: blur(5px) brightness(0.7);
    pointer-events: none;
}

.fps-page.previous .property-gallery-details {
    display: none !important;
}

/* For small pages, make them even more subtle */
.fps-page.small .property-gallery-content {
    filter: blur(10px) brightness(0.5);
    pointer-events: none;
}

.fps-page.small .property-gallery-details {
    display: none !important;
}

/* Ensure only active page content is interactive */
.fps-page:not(.active) .property-gallery-content * {
    pointer-events: none !important;
}

/* Add a subtle border to separate stacked pages */
.fps-page.previous {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fps-page.small {
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Improve visual hierarchy */
.fps-page.active {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Optional: Add a subtle background pattern to non-active pages */
.fps-page:not(.active) .property-gallery-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}
/* ===== DARK THEME ADJUSTMENTS FOR PROPERTY GALLERY ===== */
body.dark-theme .property-gallery-section {
    background: var(--bg-light);
}

body.dark-theme .fps-container {
    background: var(--bg-light);
    border-color: var(--border-color);
}

body.dark-theme .property-gallery-details h3 {
    color: var(--text-primary);
}

body.dark-theme .property-description,
body.dark-theme .property-features span {
    color: var(--text-secondary);
}

body.dark-theme .fps-scroll-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-theme .fps-scroll-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

body.dark-theme .fps-nav-btn {
    background: var(--border-color);
    border-color: var(--border-color);
}

body.dark-theme .fps-nav-btn:hover {
    background: var(--text-secondary);
}

body.dark-theme .current-page-indicator {
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

body.dark-theme .property-gallery-image {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


/* Gallery container styles */
.gallery-section {
    background: var(--bg-gray);
}

.gallery-container {
    width: 100%;
    overflow: hidden;
}


/* videos */
/* Video shuffle section - Now using CSS variables */
.shuffle-section {
    padding: 40px 0;
    position: relative;
    width: 100%;
    z-index: 10;
    background: linear-gradient(var(--shuffle-bg));
}

/* Individual video sections */
.video-section {
    position: -webkit-sticky;
    position: sticky;
    top: 10vh;
    height: auto;
    padding-bottom: 10vh;
    display: flex;
    justify-content: center;
    transform: translate3d(0,0,0);
}

/* Card content with glass effect */
.card-content {
    width: 85vw;
    height: 80vh;
    max-width: 1600px;
    background: var(--shuffle-card-bg);
    background: linear-gradient(var(--shuffle-bg), var(--shuffle-card-glass));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--shuffle-card-border);
    display: grid;
    grid-template-columns: 55% 45%;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-content:hover {
    box-shadow: 0 30px 80px rgba(223, 180, 41, 0.15);
    border-color: var(--secondary-color);
}

/* Video container */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-right: 1px solid var(--shuffle-divider);
}

.video-placeholder {
    height: 560px;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card-content:hover .video-placeholder img {
    transform: scale(1.03);
}

/* Video overlay */
.video-overlay-vid {
    position: absolute;
    inset: 0;
    background: var(--shuffle-overlay);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.card-content:hover .video-overlay-vid {
    background: rgba(255, 255, 255, 0);
}

/* Play button */
.play-button {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-medium) 50%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    animation: pulse-gold-fixed 2s infinite !important;
    transition: transform 0.3s;
    z-index: 5;
}

.play-button:hover {
    transform: scale(1.15);
}

.play-button i {
    font-size: 2rem;
    color: var(--text-white);
    margin-left: 6px;
    transition: color 0.3s;
}

/* Section header inside shuffle */
.shuffle-section .section-header {
    padding: 60px;
    color: var(--shuffle-text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background: var(--shuffle-header-bg);
}

.shuffle-section .section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 18px;
    background: var(--shuffle-title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.shuffle-section .section-header p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--shuffle-paragraph-color);
}

/* Dark theme specific adjustments */
body.dark-theme .card-content {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.dark-theme .shuffle-section .section-header h2 {
    background: linear-gradient(to right, var(--secondary-color), var(--gold-medium), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
}

body.dark-theme .shuffle-section .section-header p {
    color: var(--text-secondary);
}

/* Video lightbox adjustments for dark theme */
body.dark-theme .video-lightbox {
    background: rgba(0, 0, 0, 0.95);
}

body.dark-theme .lightbox-content {
    background: var(--bg-light);
    border: 1px solid var(--shuffle-card-border);
}

body.dark-theme .close-lightbox {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

body.dark-theme .close-lightbox:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive design */
@media (max-width: 992px) {
    .card-content {
        width: 90vw;
      height: 70vh;
        grid-template-columns: 1fr;
        grid-template-rows: 50% 50%;
    }

    .video-container {
        border-right: none;
        border-bottom: 1px solid var(--shuffle-divider);
        height: 100%;
    }
    
    .shuffle-section .section-header {
        padding: 10px;
        justify-content: flex-start;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .shuffle-section .section-header::-webkit-scrollbar {
        display: none;
    }

    .shuffle-section .section-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
        margin-top: 10px;
    }
    
    .shuffle-section .section-header p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .video-placeholder {
        height: 360px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .shuffle-section .section-header h2 {
        font-size: 2rem;
        padding-top: 1em;
    }
    
    .shuffle-section .section-header p {
        font-size: 1rem;
    }
    
    .video-placeholder {
        height: 360px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
}

/* ===== VIDEO LIGHTBOX (Keep existing, just ensure dark theme support) ===== */
/* ===== VIDEO MODAL STYLES ===== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--secondary-color);
    animation: modalSlideIn 0.3s ease-out;
    z-index: 10000;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: #000;
    overflow: hidden;
}

#modalVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    outline: none;
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: none;
}

.video-loading.active {
    display: block;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 80%;
    z-index: 3;
    display: none;
}

.video-error.active {
    display: block;
}

.video-error i {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.video-error h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff6b6b;
}

.video-error p {
    margin: 8px 0;
    font-size: 1rem;
    opacity: 0.9;
}

.modal-info {
    padding: 25px 30px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.modal-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.modal-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.video-thumbnails {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    /* overflow-x: auto; */
}

.thumbnail {
    position: relative;
    width: 160px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(223, 180, 41, 0.3);
}

.thumbnail:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail:hover .thumbnail-overlay,
.thumbnail.active .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay i {
    color: white;
    font-size: 1.5rem;
    background: rgba(223, 180, 41, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark Theme Support */
body.dark-theme .modal-content {
    background: var(--bg-light);
}

body.dark-theme .modal-info {
    background: var(--bg-gray);
    border-color: var(--border-color);
}

body.dark-theme .modal-info h3 {
    color: var(--text-primary);
}

body.dark-theme .modal-info p {
    color: var(--text-secondary);
}

body.dark-theme .video-thumbnails {
    background: var(--bg-gray);
}

body.dark-theme .modal-close {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

body.dark-theme .modal-close:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .modal-info h3 {
        font-size: 1.5rem;
    }
    
    .video-thumbnails {
        padding: 15px;
        gap: 15px;
        justify-content: flex-start;
    }
    
    .thumbnail {
        width: 140px;
        height: 90px;
    }
}
/* ===== TRANSACTIONS SLIDESHOW SECTION ===== */
.transactions-section {
    padding: var(--space-xxl) 0;
    background: var(--bg-gray);
}

.transactions-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    box-shadow: var(--shadow-lg);
}

.transactions-pages-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.transaction-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    padding: var(--space-xl);
}

.transaction-page.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
    pointer-events: all;
}

.transaction-page.previous {
    opacity: 0.7;
    transform: translateX(-20%);
    z-index: 9;
}

.transaction-page.small {
    opacity: 0.4;
    transform: translateX(-30%);
    z-index: 8;
}

.transaction-content {
    text-align: center;
    max-width: 800px;
    padding: var(--space-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.transaction-content img{
      height:auto;
      width:100% ;
      background-image: contain;
      background-position: center;
}

/* Navigation Dots */
.transactions-nav-container {
    position: absolute;
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    z-index: 100;
}

.transactions-nav-btn {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.transactions-nav-btn:hover {
    background: rgba(223, 180, 41, 0.5);
    transform: scale(1.2);
}

.transactions-nav-btn.active {
    background: var(--secondary-color);
    transform: scale(1.3);
    border-color: var(--secondary-color);
}

.transactions-nav-btn.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    opacity: 0.5;
    animation: pulse 2s infinite;
}

/* Scroll Buttons */
.transactions-scroll-container {
    position: absolute;
    left: 50%;
    bottom: var(--space-lg);
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-lg);
    z-index: 100;
}

.transactions-scroll-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.transactions-scroll-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Auto-play Indicator */
.auto-play-indicator {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.auto-play-indicator i {
    color: var(--secondary-color);
}

/* Progress Bar */
.transactions-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.transactions-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--gold-medium));
    width: 0%;
    transition: width 5s linear;
}

/* Current Slide Indicator */
.current-slide-indicator {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

/* Animation for content reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transaction-page.active .transaction-content > * {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.transaction-page.active .transaction-icon {
    animation-delay: 0.1s;
}

.transaction-page.active .transaction-title {
    animation-delay: 0.2s;
}

.transaction-page.active .transaction-amount {
    animation-delay: 0.3s;
}

.transaction-page.active .transaction-details {
    animation-delay: 0.4s;
}

.transaction-page.active .transaction-description {
    animation-delay: 0.5s;
}

/* Dark Theme Adjustments */
body.dark-theme .transactions-slider {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

body.dark-theme .transaction-content {
    background: var(--bg-gray);
}

body.dark-theme .transaction-title {
    color: var(--text-primary);
}

body.dark-theme .transaction-amount {
    color: var(--secondary-color);
}

body.dark-theme .detail-value {
    color: var(--text-primary);
}

body.dark-theme .transactions-scroll-btn {
    background: var(--bg-gray);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-theme .transactions-scroll-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

body.dark-theme .transactions-nav-btn {
    background: var(--border-color);
    border-color: var(--border-color);
}

body.dark-theme .transactions-nav-btn:hover {
    background: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .transactions-slider {
        height: 700px;
    }
    
    .transaction-page {
        padding: var(--space-lg);
    }
    
    .transaction-content {
        padding: var(--space-lg);
    }
    
    .transaction-title {
        font-size: 1.5rem;
    }
    
    .transaction-amount {
        font-size: 2rem;
    }
    
    .transaction-details {
        gap: var(--space-lg);
    }
    
    .transactions-nav-container {
        right: var(--space-md);
    }
    
    .transactions-scroll-container {
        bottom: var(--space-md);
    }
    
    .transactions-scroll-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .auto-play-indicator {
        top: var(--space-md);
        right: var(--space-md);
    }
    
    .current-slide-indicator {
        top: var(--space-md);
        left: var(--space-md);
    }
    .transaction-content img{
      background-image: cover;
}

}

@media (max-width: 480px) {
    .transactions-slider {
        height: 650px;
    }
    
    .transaction-page {
        padding: var(--space-md);
    }
    
    .transaction-content {
        padding: var(--space-md);
    }
    
    .transaction-title {
        font-size: 1.3rem;
    }
    
    .transaction-amount {
        font-size: 1.8rem;
    }
    
    .transaction-details {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .transaction-description {
        font-size: 1rem;
    }
}
    /* Testimonials Section */
        .testimonials-section {
            background: linear-gradient(rgba(18, 18, 18, 0.1), var(--glass));
            border-radius: 16px;
            padding: 50px 30px;
            margin: 20px 0;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
            border-top: 2px solid var(--secondary);
        }
        /* Testimonial Cards */
        .testimonial-cards {
            display: flex;
            flex-direction: column;
            gap: 60px;
        }

        .testimonial-card {
            min-height: 450px;
              background: linear-gradient(rgba(18, 18, 18, 0.1), var(--glass));
            border-radius: 16px;
            overflow: hidden;
            display: flex;
            flex-wrap: wrap;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(212, 175, 55, 0.15);
            transition: all 0.4s ease;
            position: relative;
            z-index: 1;
        }

        .testimonial-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
        }

        /* .testimonial-card:nth-child(even) .testimonial-video {
            order: 2;
        } */
/* Mobile specific */

/* Mobile text truncation */
@media (max-width: 768px) {
    .testimonial-content {
            min-width: 350px;
            padding: 0px;
           
        }

    /* Force video to top on mobile */
    .testimonial-card .testimonial-video {
        order: -1; /* Negative order places it first */
    }
    
    .testimonial-card .testimonial-content {
        order: 0;
    }

    .testimonial-text.truncated {
        max-height: calc(1.7em * 4); /* 4 lines of text */
        overflow: hidden;
        position: relative;
        transition: max-height 0.3s ease;
    }
    
    .testimonial-text.truncated::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40px;
        background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
        pointer-events: none;
        opacity: 1;
        transition: opacity 0.3s ease;
    }
    
    .testimonial-text.expanded {
        max-height: 1000px !important;
        overflow: visible;
    }
    
    .testimonial-text.expanded::after {
        opacity: 0;
    }
    
    .read-more-btn {
        background: transparent;
        border: none;
        color: var(--secondary);
        font-weight: 600;
        margin-top: -8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 0.9rem;
        padding: 5px 0;
        transition: all 0.3s ease;
    }
    
    .read-more-btn:hover {
        color: var(--gold-dark);
        transform: translateY(-1px);
    }
    
    .read-more-btn i {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .read-more-btn:hover i {
        transform: translateY(1px);
    }
}

/* For desktop: ensure no truncation */
@media (min-width: 769px) {
  
}
        /* Video Section */
        .testimonial-video {
            flex: 1;
            min-width: 300px;
            position: relative;
            height: 420px;
               min-height: 460px;
            overflow: visible !important;
        }

        .video-player {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: #000;
            display: block;
            transition: transform 0.4s ease;
        }

        .testimonial-video:hover .video-player, .testimonial-video:hover .video-overlay{
            transform: scale(1.03);
        }
      
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(49, 45, 6, 0.35), rgba(212, 175, 55, 0.25));
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.5s ease;
            z-index: 2;
        }

        .video-overlay:hover {
            background: linear-gradient(45deg, rgba(44, 47, 10, 0.75), rgba(212, 175, 55, 0.35));
        }

        .play-btn {
            width: 90px;
            height: 90px;
            background: rgba(212, 175, 55, 0.85);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 25px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
            animation: pulse-testimonial-fixed 2s infinite !important;
        
        }

        .play-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 0 0 15px rgba(212, 175, 55, 0.2);
            background: rgba(212, 175, 55, 0.95);
        }

/* 2. FIX TESTIMONIAL PLAY BUTTON PULSE */

@keyframes pulse-testimonial-fixed {
    0% { 
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4),
                   0 0 0 0 rgba(255, 255, 255, 0.3); 
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.2),
                   0 0 0 20px rgba(212, 175, 55, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0),
                   0 0 0 0 rgba(212, 175, 55, 0); 
    }
}
        .play-btn i {
            font-size: 36px;
            color: #fff;
            margin-left: 5px;
        }

        .overlay-text {
            color: white;
            font-size: 1.3rem;
            text-align: center;
            padding: 0 20px;
            max-width: 300px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
            font-weight: 500;
            letter-spacing: 0.5px;
        }

        /* Content Section */
        .testimonial-content {
            flex: 1;
            min-width: 300px;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
        }

        .testimonial-content::before {
            content: '"';
            position: absolute;
            top: 30px;
            left: 35px;
            font-size: 7rem;
            font-family: 'Playfair Display', serif;
            color: rgba(212, 175, 55, 0.15);
            line-height: 1;
            z-index: -1;
        }

        .testimonial-text {
            font-size: 1.2rem;
            font-style: italic;
            line-height: 1.9;
            margin-bottom: 30px;
            position: relative;
            z-index: 2;
           
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .author-image {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            border: 2px solid var(--gold-medium);
            overflow: hidden;
            flex-shrink: 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .author-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .author-image:hover img {
            transform: scale(1.1);
        }

        .author-info h4 {
            font-size: 1.3rem;
            margin-bottom: 5px;
            font-weight: 600;
                color: var(--primary);
        }

        .author-info p {
             /* color: var(--gold-medium); */
             font-weight: 450;
            font-size: 1rem;
            opacity: 0.9;
            margin-bottom: 8px;
        }
        /* .testimonial-content .btn-primary{
            background:var(--gold-dark)
        } */
        .rating {
            color: var(--gold-medium);
            font-size: 1rem;
            letter-spacing: 2px;
        }
        /* Testimonials Toggle Styles */
.testimonials-hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#hiddenTestimonials .testimonial-card{
    margin-top: 2em;
}
.testimonials-hidden.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#toggleTestimonials {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#toggleTestimonials:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

#toggleTestimonials i {
    transition: transform 0.3s ease;
}

#toggleTestimonials.expanded i {
    transform: rotate(180deg);
}

.btn-text {
    margin-right: 8px;
}


.testimonials-hidden .testimonial-card {
    opacity: 0;
    transform: translateY(-20px); /* Changed from positive to negative */
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonials-hidden.show .testimonial-card {
    opacity: 1;
    transform: translateY(0);
}
        /* Testimonials Section */
/* Location Section */
/* ===== LOCATION SECTION - COMPLETE REDESIGN ===== */

.location-section {
    padding: var(--space-xl) 0;
    background: var(--bg-gray);
}

.location-section .section-header {
    margin-bottom: var(--space-xl);
}

.location-section .section-header h2 {
    color: var(--primary-color);
}

.location-section .section-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Location Grid */
.location-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 992px) {
    .location-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .location-grid .map-container {
        grid-column: 1;
        grid-row: 1;
    }
    
    .location-grid .map-legend-container {
        grid-column: 1;
        grid-row: 2;
    }
    
    .location-grid .amenities-container {
        grid-column: 2;
        grid-row: 1 / span 2;
        height: fit-content;
    }
}

/* Map Container */
.map-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .map-container {
        height: 500px;
    }
}

@media (min-width: 1200px) {
    .map-container {
        height: 550px;
    }
}

#map {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Map Controls - Improved for mobile */
.map-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.map-control {
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.map-control:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Legend Container - Below Map */
.map-legend-container {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-top: -10px;
    position: relative;
    z-index: 2;
}

.map-legend {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.map-legend-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.map-legend-header h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-legend-header h3 i {
    color: var(--secondary-color);
}

.legend-toggle {
    margin-left: auto;
    background: var(--bg-gray);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.legend-toggle:hover {
    background: var(--secondary-color);
    color: white;
}

.legend-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.legend-content.collapsed {
    max-height: 0;
    overflow: hidden;
    padding: 0;
}

/* Webkit scrollbar for legend */
.legend-content::-webkit-scrollbar {
    width: 6px;
}

.legend-content::-webkit-scrollbar-track {
    background: var(--bg-gray);
    border-radius: 10px;
}

.legend-content::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

/* Legend Sections */
.legend-section {
    margin-bottom: var(--space-md);
}

.legend-section h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.legend-item:hover {
    background: rgba(223, 180, 41, 0.1);
    transform: translateX(5px);
}

.legend-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.legend-icon.estate {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8860b 100%);
}

.legend-icon.school {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.legend-icon.transport {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.legend-icon.market {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.legend-icon.building {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.legend-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.legend-time {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-left: auto;
    background: rgba(223, 180, 41, 0.1);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    min-width: 60px;
    text-align: center;
}

/* Amenities Container */
.amenities-container {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
}

.amenities-container h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-md);
    font-size: 1.5rem;
}

.amenities-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.amenities-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.amenity-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md);
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.amenity-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary-color);
}

.amenity-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.amenity-item:hover .amenity-icon {
    transform: scale(1.1);
    background: var(--primary-color);
}

.amenity-content h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--primary-color);
    font-weight: 600;
}

.amenity-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.location-info {
    background: var(--bg-gray);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary-color);
    margin-top: var(--space-lg);
}

.location-info h4 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-info h4 i {
    color: var(--secondary-color);
}

.location-info p {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.location-info i {
    color: var(--secondary-color);
    width: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ===== MAP MARKER STYLES ===== */

/* Custom marker base */
.custom-marker {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Estate marker - larger and prominent */
.custom-marker.estate-marker div {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8860b 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 6px 20px rgba(223, 180, 41, 0.4);
    border: 3px solid white;
    transition: all 0.3s ease;
}

.custom-marker.estate-marker div:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(223, 180, 41, 0.6);
}

/* Other markers */
.custom-marker.building-marker div,
.custom-marker.school-marker div,
.custom-marker.park-marker div,
.custom-marker.market-marker div {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    transition: transform 0.3s ease;
}

/* Specific colors */
.custom-marker.building-marker div {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.custom-marker.school-marker div {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.custom-marker.park-marker div {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.custom-marker.market-marker div {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Hover effects */
.custom-marker.building-marker div:hover,
.custom-marker.school-marker div:hover,
.custom-marker.park-marker div:hover,
.custom-marker.market-marker div:hover {
    transform: scale(1.15);
}

/* Popup styling */
.map-popup {
    font-family: 'Montserrat', sans-serif;
    max-width: 250px;
    padding: 10px;
}

.map-popup h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-popup h4 i {
    color: var(--secondary-color);
}

.map-popup p {
    margin: 5px 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.map-popup hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

.map-popup small {
    color: var(--text-light);
    font-size: 11px;
    display: block;
    margin-top: 5px;
}

/* Route lines */
.driving-route {
    stroke-dasharray: 8, 8 !important;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* ===== DARK THEME ADJUSTMENTS ===== */

body.dark-theme .location-section {
    background: var(--bg-light);
}

body.dark-theme .map-container {
    background: var(--bg-gray);
    border-color: var(--border-color);
}

body.dark-theme .map-control {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-theme .map-control:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

body.dark-theme .map-legend-container {
    background: var(--bg-gray);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.dark-theme .map-legend-header h3 {
    color: var(--text-primary);
}

body.dark-theme .legend-item {
    background: var(--bg-light);
}

body.dark-theme .legend-item:hover {
    background: rgba(212, 175, 55, 0.15);
}

body.dark-theme .legend-text {
    color: var(--text-primary);
}

body.dark-theme .legend-section h4 {
    color: var(--text-secondary);
}

body.dark-theme .amenities-container {
    background: var(--bg-gray);
    border-color: var(--border-color);
}

body.dark-theme .amenities-container h3 {
    color: var(--text-primary);
}

body.dark-theme .amenity-item {
    background: var(--bg-light);
}

body.dark-theme .amenity-content h4 {
    color: var(--text-primary);
}

body.dark-theme .amenity-content p {
    color: var(--text-secondary);
}

body.dark-theme .location-info {
    background: var(--bg-light);
    border-color: var(--secondary-color);
}

body.dark-theme .location-info h4 {
    color: var(--text-primary);
}

body.dark-theme .location-info p {
    color: var(--text-secondary);
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */

@media (hover: none) and (pointer: coarse) {
    .map-control {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .legend-item,
    .amenity-item {
        padding: 12px;
        min-height: 60px;
    }
    
    .map-controls {
        bottom: 25px;
        right: 25px;
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }
    
    .map-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .map-control {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .legend-content {
        grid-template-columns: 1fr;
        max-height: 300px;
    }
    
    .amenities-container {
        padding: var(--space-lg);
    }
    
    .amenity-item {
        padding: var(--space-sm);
    }
    
    .amenity-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin: auto;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 350px;
        border-radius: var(--radius-md);
    }
    
    .map-controls {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .map-control {
        width: 40px;
        height: 40px;
    }
    
    .map-legend-container {
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }
    
    .amenities-container {
        padding: var(--space-md);
    }
    
    .amenities-list {
        gap: var(--space-md);
    }
    
    .amenity-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .amenity-content h4 {
        font-size: 1rem;
    }
    
    .amenity-content p {
        font-size: 0.9rem;
    }
}

/* ===== SAFARI FIXES ===== */

@supports (-webkit-touch-callout: none) {
    .map-container {
        height: 400px;
    }
    
    @media (min-width: 768px) {
        .map-container {
            height: 450px;
        }
    }
}

/* ===== PRINT STYLES ===== */

@media print {
    .map-controls,
    .legend-toggle {
        display: none !important;
    }
    
    .map-container {
        height: 400px;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .legend-content {
        max-height: none;
    }
}
/* Payment Plans Section */
.payment-plans-section {
    background: var(--bg-gray);
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

.plan-card {
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
}

.plan-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 700;
}

.plan-header {
    margin-bottom: var(--space-lg);
}

.plan-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--space-md);
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: var(--space-md) 0;
}

.plan-features {
    list-style: none;
    margin-bottom: var(--space-xl);
    text-align: left;
}

.plan-features li {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--text-secondary);
}

.plan-features i {
    color: var(--secondary-color);
    margin-top: 2px;
      font-size: 1.1em;
}

.plan-actions .btn {
    width: 100%;
    font-size: 1.1em;
}

/* Calculator Section */
.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    /* .calculator-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
    } */
}

.calculator-inputs {
    padding: var(--space-sm);
    background: var(--bg-gray);
}

.calculator-inputs h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.input-group {
    margin-bottom: var(--space-lg);
}

.input-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    padding: 10px 10px 0 0;
    color: var(--primary-color);
}
 body.dark-theme .calculator-section .calculator-inputs .input-group label {
    color: #ffffff !important;
}
      
.input-group i {
    color: var(--secondary-color);
    margin-right: var(--space-xs);
}

.rate-value {
    color: var(--secondary-color);
    font-weight: 700;
    padding-left: 10px;
}


.form-range {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: var(--bg-light);
    transition: border-color var(--transition-normal);
}

.form-select:focus,
.form-range:focus {
    outline: none;
    border-color: var(--secondary-color);
}
 body.dark-theme .calculator-section .calculator-inputs .input-group .form-select {
    background-color: var(--primary-color) !important;
}


.form-range {
    padding: var(--space-sm) 0;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--space-xs);
}

.btn-block {
    width: 100%;
    margin-top: var(--space-lg);
}

.calculator-results {
    padding: var(--space-xl);
    background: var(--primary-color);
    color: var(--text-white);
}

.calculator-results h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--secondary-color);
    position: relative;
    padding-bottom: var(--space-md);
}

.calculator-results h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
   
}

.result-label i {
    color: var(--secondary-color);
}

.result-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
     padding-left: 1em;
}

.calculator-note {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: rgba(223, 180, 41, 0.1);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--secondary-color);
}

.calculator-note p {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.calculator-note i {
    color: var(--secondary-color);
    margin-top: 2px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 576px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: var(--bg-light);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(223, 180, 41, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    color: var(--primary-color);
}

.contact-details p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color var(--transition-normal);
}

.contact-link:hover {
    color: var(--gold-dark);
}

.contact-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-cta {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--text-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.whatsapp-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.whatsapp-cta h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--text-white);
}

.whatsapp-cta > p {
    opacity: 0.9;
    margin-bottom: var(--space-lg);
     color: var(--text-white);
}

.whatsapp-features {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.whatsapp-features p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
     color: var(--text-white);
}

.whatsapp-features i {
    color: var(--secondary-color);
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    
     background: #075E54;
    color: var(--text-white);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp-cta:hover {
    background:  #25D366;
    color: var(--text);
    /* background: #075E54;
    color: var(--text-white); */
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

         /* Footer */

          .footer {
             background-color:  rgba(15, 14, 0, 0.7);
            color: rgb(247, 243, 243);
            padding: 0px 0 0;
            position: relative;
            overflow: hidden;
    font-family: 'Montserrat', sans-serif;
        }
        
        /* Decorative Elements */
        .footer::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, var(--secondary), var(--gold-light), var(--gold-medium))
        }
        
       /* Footer Grid */
        /* .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        } */
        .contain-decor{
              background: linear-gradient(rgba(18, 18, 18, 0.1), var(--glass));
              padding: 2em;
              border: 10px;
        }
        /* Footer Columns */
        .footer-column {
            margin-bottom: 20px;
            padding: 1em;
        }
        
        .footer-column h3 {
            color: var(--secondary);
            color: white;
            font-size: 1.4rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
            font-weight: 600;
              font-family: 'Playfair Display', serif;
        }
        
        .footer-column h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--gold-medium);
        }
        
        .footer-about p {
            color: #cacaca;
            line-height: 1.7;
            margin-bottom: 20px;
        }
        
        /* Social Links */
        .social-links-footer {
            display: flex;
            gap: 15px;
        }
        
        .social-links-footer a {
      
            color: white;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            /* background: var(--secondary); */
               background: rgba(212, 175, 55, 0.1);
            text-decoration: none;
        }
         .social-links-footer a:hover {
            background: #ffffff;
                 color: var(--gold-medium);
            transform: translateY(-5px);
        }
        /* Footer Lists */
        .footer-list {
            list-style: none;
            padding: 0;
        }
        
        .footer-list li {
            margin-bottom: 12px;
        }
        
        .footer-list a {
            color: #cacaca;;
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
            padding: 5px 0;
            position: relative;
            padding-left: 20px;
            
        }
        
        /* Contact Info */
        .contact-info-footer {
            list-style: none;
            padding: 0;
           
        }
        
        .contact-info-footer li {
            color: #cacaca;
            margin-bottom: 20px;
            display: flex;
            align-items: flex-start;
        }
        
        .footer .contact-info-footer i {
            color: white;
            /* color: var(--secondary); */
            margin-right: 15px;
            min-width: 20px;
            margin-top: 4px;
        }
        
        /* Newsletter */
        .newsletter-section {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 40px 0;
            margin: 40px 0;
        }
        
        .newsletter-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            align-items: center;
            justify-content: space-between;
        }
        
        .newsletter-text h4 {
              color: white;
            font-size: 1.3rem;
            margin-bottom: 10px;
        }
        
        .newsletter-text p {
          color: #cacaca;
            margin: 0;
        }
        
        .newsletter-form {
            display: flex;
            flex: 1;
            min-width: 300px;
        }
        
        .newsletter-input {
            flex: 1;
            padding: 12px 20px;
            border: none;
           
            background: rgba(36, 31, 8, 0.5);
            color: white;
            border-radius: 4px 0 0 4px;
            outline: none;
        }
        
        .newsletter-button {
            background: linear-gradient(135deg, var(--gold-medium) 0%, var(--secondary) 100%);
            color: var(--primary);
            border: none;
            padding: 0 25px;
            font-weight: 600;
            cursor: pointer;
            border-radius: 0 4px 4px 0;
            transition: all 0.3s ease;
        }
        
        /* Footer Bottom */
        .footer-bottom {
            background: rgba(0, 0, 0, 0.2);
            padding: 25px 0;
            text-align: center;
        }
        
        .footer-bottom-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .copyright {
              color: #cacaca;
            /* margin: 0; */
            text-align: center;
        }
        
        .footer-links {
            display: flex;
            gap: 15px;
        }
        
        .footer-links a {
             color: #cacaca;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        /* Hover Effects */
        .footer-list a:hover,
        .footer-list a:focus {
            color: var(--secondary);
            transform: translateX(5px);
        }
        
        .footer-list a::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            background: var(--gold-medium);
            border-radius: 50%;
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .footer-list a:hover::before,
        .footer-list a:focus::before {
            opacity: 1;
        }
        
        .social-links a:hover {
            color: var(--gold-light);
            background: rgba(212, 175, 55, 0.2);
            transform: translateY(-3px);
        }
        
        .newsletter-button:hover {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--gold-medium) 100%);
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
        }
        
               /* Footer Legal Links */
.footer-legal {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #cacaca;                /* matches other footer link color */
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 8px;
    display: inline-block;
}

.footer-legal a:hover {
    color: var(--secondary);       /* gold – #dfb429 */
}

.footer-legal .separator {
    color: #cacaca;
    opacity: 0.5;
    font-weight: 300;
    display: inline-block;
}

        
        /* Responsive Design */
        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .newsletter-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .newsletter-form {
                width: 100%;
            }
            
            .footer-bottom-container {
                flex-direction: column;
            }
           
        
        }
        
        @media (max-width: 480px) {
            .footer-grid {
                grid-template-columns: 1fr;
            }
        }
        /* Modal */
/* ===== MODAL STYLES FIX ===== */

/* Modal overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ff4444;
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a2e 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.modal-header h2 {
    color: white;
    font-size: 24px;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

/* Modal Content Grid */
.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .modal-content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Modal Image */
.modal-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

@media (min-width: 768px) {
    .modal-image {
        height: auto;
        min-height: 500px;
    }
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.modal-image:hover img {
    transform: scale(1.05);
}

/* Modal Details */
.modal-details {
    padding: 30px;
    background: #f8f9fa;
}

.detail-section {
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary-color);
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section h3 i {
    color: var(--secondary-color);
}

/* Property Details Rows */
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.detail-value {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 16px;
}

/* Feature Lists */
.feature-list, .amenity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li, .amenity-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.feature-list li i, .amenity-list li i {
    color: var(--secondary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 15px;
    padding: 30px;
    background: white;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-actions .btn {
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.modal-actions .btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.modal-actions .btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(223, 180, 41, 0.3);
}

.modal-actions .btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.modal-actions .btn-outline:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-details {
        padding: 20px;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .modal-actions {
        padding: 20px;
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
        min-width: unset;
    }
}

/* Responsive Utilities */
@media (max-width: 575.98px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .property-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .property-actions {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .hero-content {
        padding: 0 var(--space-md);
    }
    
    .responsive-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card {
        padding: var(--space-md);
    }
    
    .plan-card.featured {
        transform: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print Styles */
@media print {
    .responsive-quick-nav,
    .hero-actions,
    .property-actions,
    .plan-actions,
    .footer-social,
    .footer-contact {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    section {
        padding: 1cm 0;
        break-inside: avoid;
    }
    
    .property-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #ffdd00;
        --text-primary: #000000;
        --text-secondary: #333333;
    }
    
    .btn-primary {
        background: #000000;
        color: #ffffff;
    }
    
    .btn-outline {
        border-color: #000000;
        color: #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .filter-btn,
    .quick-nav-item,
    .property-card {
        min-height: 44px; /* Minimum touch target size */
    }
    
    .property-overlay {
        opacity: 1; /* Always show overlay on touch devices */
    }
    
    .quick-nav-items {
        padding-bottom: 20px; /* Extra space for scroll indicators */
    }
}